package com.primforce.sys.service.impl;

import com.primforce.respository.entity.User;
import com.primforce.respository.sys.service.UserService;
import com.primforce.sys.service.SysService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author tangjiakai
 * @Date 2024/12/4 10:13
 * @Description: TODO
 */
//@Service
@RestController
@RequestMapping("/sys")
public class SysServiceImpl implements SysService {



    @Resource
    private UserService userService;


    @Override
    public String test111() {
        List<User> users = userService.userList();
        return users.toString();
    }
}
